package

        com.wangc.report.dao;


import com.wangc.report.entity.SysUserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 系统用户Dao
 *
 * @author xuyang
 * @email 295640759@qq.com
 * @date 2020-04-01 23:31:37
 */
@Repository
@Mapper
public interface SysUserMapper {
    SysUserEntity selectByPrimaryKey(Long id);

    List<String> queryAllPerms(Long id);

    SysUserEntity queryByUserName(String username);

    List<SysUserEntity> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    int insertSelective(SysUserEntity sysConfig);

    int updateByPrimaryKeySelective(SysUserEntity sysConfig);

    int deleteByPrimaryKey(Long id);

    int deleteBatch(Long[] ids);
}
